// Copyright (C) joyinter
// All rights reserved.
// 
// Author : dengxinguo
// Date   : 2005-3-01

#include "stdafx.h"

#include "AutoLockCs.h"
#include "stdio.h"


//##ModelId=44C4B5F70303
CAutoLockCs::CAutoLockCs(CLockCS *lpLockCs)
{
	m_lpLockCs    =  lpLockCs;
	m_lpLockCs->Lock();
}

//##ModelId=44C4B5F7030E
CAutoLockCs::~CAutoLockCs()
{
	m_lpLockCs->Unlock();
}
 
